<?php
class Search extends AppModel {
 
    var $name = 'Search';
    var $useTable = 'masters'; // Este modelo usa la tabla 'masters' de la base de datos

    	var $validate = array(
		'fecha' => array(
			'date' => array(
				'rule' => array('date'),
				'message' => 'Your custom message here',
				//'allowEmpty' => false,
				//'required' => false,
				//'last' => false, // Stop validation after this rule
				//'on' => 'create', // Limit validation to 'create' or 'update' operations
			),
		),
         );
    
}
?>
